//
//  BaseCollectionReusableView.h
//  OrderSys
//
//  Created by 李李善 on 2017/8/23.
//  Copyright © 2017年 com.hx. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "MCLabel.h"
#import "HLTextView.h"
#import "HLTextField.h"
@interface BaseCollectionReusableView : UICollectionReusableView
@property (nonatomic, strong) MCLabel      * detailLabel;
@property (nonatomic, strong) UIImageView  *imageView;
@property (nonatomic, strong) UILabel      * textLabel;
@property (nonatomic, strong) HLTextField  * textField;
@property (nonatomic, strong) HLTextView   * textView;
@property (nonatomic, strong) UIButton     * button;

//是否初始化
@property(nonatomic,assign)BOOL isAsInt;

+ (BaseCollectionReusableView *)onCollectionView:(UICollectionView *)collectionView forViewController:(UIViewController *)ViewController reuseIdentifier:(NSString *)reuseIdentifier forforKind:(NSString *)kind forIndexPath:(NSIndexPath *)indexPath;

@end


@interface UICollectionReusableView(createReusableView)
- (void)onAsInitAddView:(UIView *)view forViewController:(UIViewController *)ViewController AtIndexPath:(NSIndexPath *)indexPath;
- (void)update:(id)model forCollectionView:(UICollectionView *)CollectionView AtIndexPath:(NSIndexPath *)indexPath;// NS_REQUIRES_SUPER;
@end
